#include "paintingclass.h"

// Sets the name of the audio device
btMusicBox music = btMusicBox("LyiMusicBox");
void setup() {
   Serial.begin(115200);
   Wire.begin(I2C_SDA,I2C_SCL,I2C_FREQ);
   Audio_codeC(ES8388);
   music.begin();
   music.I2S(I2S_BCK, I2S_DOUT, I2S_WS);
   music.reconnect();    // Re-connects to last connected device
   attendpaintingclass();// attendpaintingclass
}
void loop() {
   delay(10);
   ADC_KeyScan();
   painting->mainLoop();  //paintingclass
   audioLyricsupdate(100);//update musicLyrics
}